<!--{subtemplate jameson_read:163/read_header}-->
<!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
<div class="uk-grid-collapse uk-margin-top" uk-grid>
	<div class="uk-width-medium">
			{if $_G['jameson_read']['shuxinglist']}
			<div class="uk-border-e6 uk-padding-small">
					{loop $_G['jameson_read']['shuxinglist'] $tag}
						<a href="./plugin.php?id=jameson_read&contrl=index&act=tag&tag={$tag}" class="uk-badge">{$tag}</a>
					{/loop}
			</div>
			{/if}
			{if $adv[0]['adv']}
			<div class="cl" style="width: auto;margin:auto;overflow: hidden;">
				{eval echo stripcslashes($adv[0]['adv']);}
			</div>
			{/if}
			<ul class="uk-margin-top uk-padding-remove mb0 uk-tab-bb" uk-tab>
				<li class="uk-active">
						<a href="javascript:;">{lang jameson_read:xinshushangjia}</a>
				</li>
				<li>
						<a href="javascript:;">{lang jameson_read:yuedubang}</a>
				</li>
			</ul>
			<div class="uk-switcher">
				<ul class="uk-list uk-list-paihang uk-border-e6 uk-padding-remove mt0">
					{loop $paihangbang['zuixin'] $key $book}
						{if !$key}
						<li class="tuline cl">
							<span class="z mr10 xs3">1</span>
							<a href="{eval echo jamesonurl('book',$book['book_id']);}" class="z mr10 img"><img src="{if $book['image'] && preg_match('/^http|\/\//i',$book['image'])}{$book['image']}{elseif $book['image']}./data/attachment/forum/{$book['image']}{else}{$_G['jameson_read']['morenfengmian']}{/if}" alt=""></a>
							<div>
								<a class="xs3 xw1" href="{eval echo jamesonurl('book',$book['book_id']);}">{$book['book_name']}</a>
								<p>
								<a class="xs1 xg1" href="./plugin.php?id=jameson_read&contrl=index&act=zuozhe&zuozhe_name={$book['author']}">{$book['author']}</a>
								</p>
							</div>
						</li>
						{elseif $key < 8}
						<li class="line"><a href="{eval echo jamesonurl('book',$book['book_id']);}"><span>{eval echo $key+1;}</span>{$book['book_name']}</a></li>
						{/if}
					{/loop}
				</ul>
				<ul class="uk-list uk-list-paihang uk-border-e6 uk-padding-remove mt0">
					{loop $paihangbang['yuedu'] $key $book}
						{if !$key}
						<li class="tuline cl">
							<span class="z mr10 xs3">1</span>
							<a href="{eval echo jamesonurl('book',$book['book_id']);}" class="z mr10 img"><img src="{if $book['image'] && preg_match('/^http|\/\//i',$book['image'])}{$book['image']}{elseif $book['image']}./data/attachment/forum/{$book['image']}{else}{$_G['jameson_read']['morenfengmian']}{/if}" alt=""></a>
							<div>
								<a class="xs3 xw1" href="{eval echo jamesonurl('book',$book['book_id']);}">{$book['book_name']}</a>
								<p>
								<a class="xs1 xg1" href="./plugin.php?id=jameson_read&contrl=index&act=zuozhe&zuozhe_name={$book['author']}">{$book['author']}</a>
								</p>
							</div>
						</li>
						{elseif $key < 8}
						<li class="line"><a href="{eval echo jamesonurl('book',$book['book_id']);}"><span>{eval echo $key+1;}</span>{$book['book_name']}</a></li>
						{/if}
					{/loop}
				</ul>
			</div>
			{if $adv[1]['adv']}
			<div class="cl" style="width: auto;margin:auto;overflow: hidden;">
				{eval echo stripcslashes($adv[1]['adv']);}
			</div>
			{/if}
	</div>
	<div class="uk-width-expand uk-margin-left">
		<div class="uk-padding uk-border-e6">
			<h4 class="uk-heading-divider">
			{if $keyword}
				{lang jameson_read:zhaodao} 
				({lang jameson_read:shuming} | 
				{lang jameson_read:zuozhe}  |
				{lang jameson_read:biaoqian})
				{lang jameson_read:baohan} 
				<strong class="uk-text-danger"> {$keyword} </strong> 
				{lang jameson_read:dejilu} 
				<strong class="uk-text-danger">{$counts}</strong>
				{lang jameson_read:tiao}
			{else}
				{lang jameson_read:cainixihuan}
			{/if}
			</h4>
			{if ($keyword && $books) || !$keyword}
			<div class="uk-grid-collapse uk-child-width-1-2 shaixuanbooklist zqy_1" uk-grid>
				{loop $books $key $book}
					<div class="cl uk-margin-top">
						<div class="book-img z">
		                    <a href="{eval echo jamesonurl('book',$book['book_id']);}">
		                        <img src="{if $book['image'] && preg_match('/^http|\/\//i',$book['image'])}{$book['image']}{elseif $book['image']}./data/attachment/forum/{$book['image']}{else}{$_G['jameson_read']['morenfengmian']}{/if}">
		                    </a>
		                </div>
		                <div class="book-info">
                            <h4><a href="{eval echo jamesonurl('book',$book['book_id']);}">{$book['book_name']}</a></h4>
                            <a class="xg1 xs1 xw0" href="./plugin.php?id=jameson_read&contrl=index&act=zuozhe&zuozhe_name={$book['author']}">{$book['author']}</a>
                            <div class="">
                                 <a class="uk-label uk-label-border" href="{eval echo jamesonurl('shaixuan','shaixuan','category_id',$book['category_id']);}">{$book['category_name']}</a>
                                <span class="uk-label uk-label-border">{if $book['plan']}{lang jameson_read:yiwanjie}{else}{lang jameson_read:lianzaizhong}{/if}</span>
                                {if $book['shuxing']}
                                <span class="uk-label uk-label-border">{$book['shuxing']}</span>
                                {/if}
                            </div>
                            <p class="desco">
                                   {$book['desc']}
                            </p>
                        </div>
					</div>
				{/loop}
			</div>
			{else}
				<div class="uk-alert-danger uk-padding" uk-alert>{lang jameson_read:zanwujilu}</div>
			{/if}
		</div>
		{if $books}
		<div class="uk-margin-top cl">{$pageshow}</div>
		{/if}
	</div>
</div>

<!--[diy=diy2]--><div id="diy2" class="area"></div><!--[/diy]-->
<!--{subtemplate jameson_read:163/read_footer}-->